package org.budo.warehouse.web.impl;

import javax.annotation.Resource;

import org.budo.support.dao.page.Page;
import org.budo.support.dao.page.PageModel;
import org.budo.warehouse.service.api.IEntryBufferService;
import org.budo.warehouse.service.entity.EntryBuffer;
import org.budo.warehouse.web.api.EntryBufferApi;
import org.springframework.stereotype.Component;

/**
 * @author limingwei
 */
@Component
public class EntryBufferApiImpl implements EntryBufferApi {
    @Resource
    private IEntryBufferService entryBufferService;

    @Override
    public PageModel<EntryBuffer> list(Page page) {
        return entryBufferService.list(page);
    }
}